package com.example.madman.yuejian.Listener;

import com.example.madman.yuejian.Bean.ClubBean;
import com.example.madman.yuejian.Bean.CourseBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by Madman on 2018/10/8.
 */

public interface RetrofitService {
    @GET("clublist")
    Call<List<ClubBean>>getClubList();
    @GET("courselist")
    Call<List<CourseBean>>getCourseList();
    @POST("clubid")
    Call<ClubBean>getClubDetail(@Query("clubid") int clubid);
}
